import React,{Component} from 'react';

class SelView extends Component {
    constructor(props){
        super(props)

    }

    
    render(){
        return (
            <div className={`com-sel ${(this.props.className?this.props.className:'')}`} onClick={(this.props.onClick)?this.props.onClick.bind(this):null}>
                {this.props.title?<span className="title">{this.props.title}</span>:null}<span className="seldiv">{this.props.label}<span className="icon">&lt;</span></span>
            </div>
        )
    }
}

export default SelView